package cn.funnyxb.tools.appFrame.util.net;

import android.content.Context;
import cn.funnyxb.tools.appFrame.util.net.exceptions.Exception_ActiveConnectionIsNotAvailable;
import cn.funnyxb.tools.appFrame.util.net.exceptions.Exception_CannotGetConnectionSource;
import cn.funnyxb.tools.appFrame.util.net.exceptions.Exception_ResponseCodeIsNot200;
import cn.funnyxb.tools.appFrame.util.xml.XmlTool;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.HashMap;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;

public class NetHelper_Adv extends NetHelper
{
  public NetHelper_Adv(Context paramContext)
  {
    super(paramContext);
  }

  public HashMap<String, String> downLv1Xml2Obj(String paramString)
    throws MalformedURLException, IOException, Exception_CannotGetConnectionSource, Exception_ActiveConnectionIsNotAvailable, Exception_ResponseCodeIsNot200, ParserConfigurationException, SAXException, FactoryConfigurationError
  {
    InputStream localInputStream = null;
    HashMap localHashMap;
    try
    {
      log("in downLv1Xml2Obj");
      localInputStream = getInputStream(paramString, 500, 500);
      log("in downLv1Xml2Obj has getInputStream");
      localHashMap = XmlTool.phraseLv1XmlInputStrem2Object(localInputStream);
      label55: if (localInputStream == null);
    }
    finally
    {
      try
      {
        localInputStream.close();
        return localHashMap;
        localObject = finally;
        if (localInputStream == null);
      }
      catch (Exception localException2)
      {
        try
        {
          localInputStream.close();
          throw localObject;
          localException2 = localException2;
        }
        catch (Exception localException1)
        {
          break label55:
        }
      }
    }
  }

  public ArrayList<HashMap<String, String>> downLv21Xml2Obj(String paramString)
    throws MalformedURLException, IOException, Exception_CannotGetConnectionSource, Exception_ActiveConnectionIsNotAvailable, Exception_ResponseCodeIsNot200, ParserConfigurationException, SAXException, FactoryConfigurationError
  {
    InputStream localInputStream = null;
    ArrayList localArrayList;
    try
    {
      localInputStream = getInputStream(paramString, 500, 500);
      label40: if (localInputStream == null);
    }
    finally
    {
      try
      {
        localInputStream.close();
        return localArrayList;
        localObject = finally;
        if (localInputStream == null);
      }
      catch (Exception localException2)
      {
        try
        {
          localInputStream.close();
          throw localObject;
          localException2 = localException2;
        }
        catch (Exception localException1)
        {
          break label40:
        }
      }
    }
  }
}

/* Location:           E:\Desktop\复件 classes_dex2jar.jar
 * Qualified Name:     cn.funnyxb.tools.appFrame.util.net.NetHelper_Adv
 * JD-Core Version:    0.5.3
 */